import request from '@/utils/request'
import Cookies from 'js-cookie'

export function generateTestPaper(data) {
  return request({
    url: "/freeTest/generateTestPaper",
    method: 'post',
    data:JSON.stringify(data),
  })
}

export function getFreeTestList(data) {
  return request({
    url: "/freeTest/list",
    method: 'get',
    data:JSON.stringify(data),
  })
}

export function delTestData(exameId) {
  return request({
    url: "freeTest/delete/"+exameId,
    method: 'get',
  })
}
